<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>管理员登录</title>
</head>
<body>
<h1>登录</h1>
<form action="yanzheng.php" method="post"> 
工号：<input type="text" name='id'/><br/>
密码：<input type="password" name='password'/><br/>
<input type="submit" value='登录'/><input type="reset" value='重置'/>
</form>
<br/>
<?php 
    if(isset($_GET['error']))
    {
        echo "<font color='red'>用户名或密码错误</font>";   
    }
        ?>
</body>
</html>
